import request from '@/utils/request'

//获取订单列表
export  function search(data) {
    return request({
      url: 'view-order-cunt/search',
      method: 'post',
      data
    })
}
//获取订单明细
export  function item(orderId) {
    return request({
      url: `view-order-itm/item?orderId=${orderId}`,
      method: 'get',
    })
}